package com.bl.ep.mapper;

import com.bl.ep.bean.SecurityGuard;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName SecurityGuardMapper
 * @Description 门岗检测员 dao
 * @Author 陈宝梁
 * @Date 2021/11/15 18:13
 * @Version 1.0
 **/
public interface SecurityGuardMapper {
    /**
     * @Method insertSelective
     * @Author 陈宝梁
     * @Description 插入数据
     * @Date 2021/11/16 0:12
     **/
    int insertSelective(SecurityGuard securityGuard);

    /**
     * @Method selectByAccount
     * @Author 陈宝梁
     * @Description 根据工号和密码查找核酸检测人员
     * @Date 2021/11/16 0:12
     **/
    SecurityGuard selectByAccount(@Param("no") String no, @Param("password") String password);

    /**
     * @Method selectByPrimaryId
     * @Author 陈宝梁
     * @Description 根据 id 查询 门岗检测员
     * @Date 2021/11/16 17:14
     **/
    SecurityGuard selectByPrimaryId(@Param("id") Long id);
}
